package com.xiyu.service.convert.material;

import com.xiyu.service.vo.material.supplier.SupplierSimpleListOutput;
import com.xiyu.service.vo.material.supplier.SupplierSingleGetOutput;
import com.xiyu.service.vo.material.supplier.SupplierUpdateInput;
import com.xiyu.service.vo.material.supplier.SupplierCreateInput;
import com.xiyu.service.vo.material.supplier.SupplierPageQueryOutput;
import com.xiyu.service.model.material.info.MaterialSupplier;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 供应商管理 Convert
 */
@Mapper
public interface SupplierConvert {
    SupplierConvert INSTANCE = Mappers.getMapper(SupplierConvert.class);


    List<SupplierPageQueryOutput> pageQueryOutputConvert(List<MaterialSupplier> output);

    MaterialSupplier createInputConvert(SupplierCreateInput input);

    MaterialSupplier updateInputConvert(SupplierUpdateInput input);

    SupplierSingleGetOutput singleGetOutputConvert(MaterialSupplier output);

    List<SupplierSimpleListOutput> simpleListOutputConvert(List<MaterialSupplier> output);

}
